package com.nf.entity;

import java.util.Date;

public class Account {
    private Integer id;
    private String userName;
    private String password;
    private String cardNo;
    private Integer balance;
    private Date validDate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public Integer getBalance() {
        return balance;
    }

    public void setBalance(Integer balance) {
        this.balance = balance;
    }

    public Date getValidDate() {
        return validDate;
    }

    public void setValidDate(Date validDate) {
        this.validDate = validDate;
    }


    @Override
    public String toString() {
        return "Account [id=" + id + ", userName=" + userName + ", password=" + password + ", cardNo=" + cardNo
                + ", balance=" + balance + ", validDate=" + validDate + "]";
    }
}
